package com.queming.service.album;

import com.queming.music.dto.AlbumDto;
import com.queming.music.dto.AlbumSearchFilter;
import com.queming.music.entity.Album;
import com.queming.service.General.GeneralService;
import org.springframework.data.domain.Page;

/**
 *
 * @author 陈词调
 * @date 2022/5/11
 */
public interface AlbumService extends GeneralService<Album, AlbumDto> {

    Page<AlbumDto> search(AlbumSearchFilter albumSearchFilter);

    AlbumDto recommend(String id, Integer recommendedFactor);

    AlbumDto cancelRecommendation(String id);
}
